<?php
namespace common\helpers;

/**
 * redis key汇总类
 * @author huqq
 *
 */
class ShowRedisKey
{
    /**
     *  $params为参数数组,如$params = array('key', 'key2');
     */
    
    
    /**
     * 同步到开放搜索的队列key
     * 队列类型：list
     * @return string
     */
    public static function xxxList($params = array())
    {
        $key = 'xxx';
        if (!empty($params)) {
            $key .= '_' . implode('_', $params);
        }
        return $key;
    }
    
}